﻿@model ProductModel
@{
    ViewData["Title"] = "Home Page";
}
<h1>Click Submit to send the model</h1>
<form asp-action="EditProduct">
    <div class="form-group">
        <label asp-for="Id"></label>
        <input class="form-control" asp-for="Id" />
    </div>
    <div class="form-group">
        <label asp-for="Name"></label>
        <input class="form-control" asp-for="Name" />
    </div>
    <div class="form-group">
        <label asp-for="SellPrice"></label>
        <input class="form-control" asp-for="SellPrice" />
    </div>
    <button type="submit" class="btn btn-default">Submit</button>
</form>
